package com.xjp.service.impl;

import com.xjp.dao.IUserDao;
import com.xjp.entity.User;
import com.xjp.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl implements IUserService {


    @Autowired
    private IUserDao userDao;

    @Override
    public List<User> findAll() {

        return userDao.findAll();
    }
}
